package com.uplift.mobile.realty.service;

import com.uplift.common.base.ServiceReslut;
import com.uplift.mobile.realty.model.RealtyInfo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

public interface IRealtyInfoService {
	public List<Map<String, Object>> queryRealtyInfo(RealtyInfo customer);

	@Transactional
	public ServiceReslut addRealtyInfo(RealtyInfo customer) throws Exception;

	@Transactional
	public ServiceReslut updateRealtyInfo(RealtyInfo customer) throws Exception;

	@Transactional
	public ServiceReslut deleteRealtyInfo(RealtyInfo customer);
}
